package com.mall.server.service;

import com.mall.dubbo.api.OrderSettingApi;
import com.tanhua.model.domain.OmsOrderSetting;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class OrderSettingService {

    @DubboReference
    private OrderSettingApi orderSettingApi;

    public OmsOrderSetting getOrderSetting(Long id) {
        return orderSettingApi.getOrderSetting(id);
    }

    public Boolean updateSetting(OmsOrderSetting oos) {
        return orderSettingApi.updateSetting(oos);
    }
}
